package com.topisv.tms.service.stock;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.topisv.tms.entity.stock.safeStock.CusStockSafe;
import com.topisv.tms.repository.stock.CusStockSafeDao;

/**
 * 安全库存service
 *  Date          Author       Version       Description
 * ----------------------------------------------------------
 *  2014-7-18      CC            1.0           Create
 */
@Component
@Transactional(readOnly = true)
public class CusStockSafeService {
	@Autowired
	private CusStockSafeDao cusStockSafeDao;
	@Transactional(readOnly = false)
	public void save(CusStockSafe entity){
		cusStockSafeDao.save(entity);
	}
}
